package com.app.bimo.commonbusiness.bean;


import com.google.gson.annotations.SerializedName;

public class BaseResult<T>{

    @SerializedName("data")
    private T result;
    @SerializedName("item")
    private T item;
    @SerializedName("code")
    private int code = -1;

    @SerializedName("msg")
    private String msg;

    @SerializedName("total")
    private int total;

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public void setItem(T item) {
        this.item = item;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public T getItem() {
        return item;
    }
}
